package com.huilian.iotbox.data.service;

import com.huilian.iotbox.data.po.Permission;

import java.util.List;

public interface PermissionCommonService {
    List<Permission> findAllNoAuthPermissionByPlatformType(Integer permissionPlatformType);

    List<Permission> findUserPermission(Integer userId, Integer permissionPlatformType);
    List<Permission> findUserPermissionV2(Integer userId, Integer permissionPlatformType);

}
